

import Layout from '@/layout'

const houseRouter = {
  path: '/house',
  component: Layout,
  redirect: '/house',
  name: 'House',
  meta: {
    title: '党建管理',
    icon: 'message',
    roles: ['admin']
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/house/index'),
      name: 'index',
      meta: { title: '房屋信息管理', icon: '' }
    },
    {
      path: 'person_index',
      component: () => import('@/views/house/person_index'),
      name: 'person_index',
      meta: { title: '住户信息管理', icon: '' }
    }
  ]
}

export default houseRouter  //collate
